/***************************************************************************
 *   Copyleft 2006-2007 by												   *
 *	 Iwanicki Krzysztof													   *
 *   <gamma.mini.pw.edu.pl/~iwanickik>			                           *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 ***************************************************************************/
#ifndef __ABSTRACTNDIALOG_H__
#define __ABSTRACTNDIALOG_H__


#include "../../resource.h"
#include <Types/vTypes.h>
#include "../../Macros/vMemoryMacros.h"
#include <commctrl.h>

namespace Vendetta {
	class vAbstractDialog {
	public:

		/**************************************************************
		* Constructors                                                *
		***************************************************************/
		vAbstractDialog() { }
		vAbstractDialog(HWND hWndOwner);
		~vAbstractDialog() { }

		static vReal DlgItemFloat(HWND hDlg, vInt id);
		static vInt DlgItemInt(HWND hDlg, vInt id);

		static vVoid SetDlgItemFloat(HWND hDlg, vInt id, vReal val);
		static vVoid SetDlgItemInt(HWND hDlg, vInt id, vInt val);

	protected:
		HWND mhOwner;

	};
}

#endif